<?php defined('SYSPATH') or die('No direct script access.');

class Controller_AJAX_User extends Controller {
    
	public function action_index()
	{
		echo ('Error 404: No matching ajax controller or actions');
	}
	public function action_get_group()
	{
		
		$data = array(
			array(
				'label' => 'task cho thang',
				'value'	=> 'task cho thang',
				'id'	=> '1'
			),
			array(
				'label' => 'xyz',
				'value'	=> 'xyz',
				'id'	=> '2'
			)
		);
		$this->response->body(json_encode($data));
	}
}